package com.joshjung.hover.interfaces
{
    import com.joshjung.collections.ILLIdentifiable;
    import com.joshjung.echosurf.IClientable;

    import flash.utils.ByteArray;

    /**
     * A sendable object is:
     *
     * 1) Identifiable by an ID
     * 2) Identifiable by a TYPE
     * 3) Associated with a particular clientID
     * 4) Can be packaged in a ByteArray
     *
     * @author jjung
     */
    public interface IByteArrayable extends ILLIdentifiable, ITypeable, IClientable
    {
        function toBA(ba : ByteArray) : void;
        function fromBA(ba : ByteArray) : void;
    }
}
